                          :hashtags                    []
                          :pending-messages            []}
           id1-config    (id-specific-config node/identity-1 id1-keypair [] done)]
+      (ensure-test-terminates! timeout done)
       (protocol/init-whisper! (merge common-config id1-config))
       (protocol/send-message!
         {:web3    web3

                                :content      "123"
                                :timestamp    1498723691404}}}))))

;; TODO(oskarth): Add fixtures to start node before running tests against node
(deftest test-whisper-version!
  (testing "Whisper version supported"
    (async done


(nodejs/enable-util-print!)

(def rpc-url "http://localhost:8645")
(def Web3 (js/require "web3"))
(defn make-web3 []
  (Web3. (Web3.providers.HttpProvider. rpc-url)))

(defn setup []
  (println "Setup...")

  ;; NOTE(oskarth): If status-go has already been built correctly, comment this out
  (println "Preparing environment...")
  (node/prepare-env!)

  (println "Start node...")
  (node/start!)

  (println "Setup done"))

(defn teardown []
  (println "Teardown done"))

(use-fixtures :once {:before setup :after teardown})

(defn make-callback [identity done]
  (fn [& args]
