Working on adding a test case for Jasmine