Added tests for ensuring that it works with Jasmine