fix jasmine browser tests

remove tests based on old api. add simple tests for new api.

Jira-issue: WP-1284
Merge pull request #19 from aldafu/WP-1284-fix-jasmine-browser-tests

fix jasmine browser tests