better tests, now using jasmine