headless testing with Jasmine