Shifting Jasmine set-up code out of tests.js so that file is purely test code