Fixed jasmine tests to work with modularized codebase

Jira Issue: WP-1043
Merge pull request #3 from glatorre/WP-1043

Fixed jasmine tests to work with modularized codebase [WP-1043]