These changes ensure that the JS tests run without networking and fixes the block chain export and its associated test.