Jasmine test flappy