Fixed issue with failing Jasmine tests. Issue is caused by the scoping of javascript classes being problematic. Will need to introduce a unique namespace for each View Model to prevent collisions (when I work out how to do that).