switched to jasmine test framework