Refactor the way Jasmine is provided to tests to be simple and avoid a potential async issue if test start too quickly