Changed tests to run from js.

This will allow windows users to do npm test too.

Jira-issue: WP-185

It will most probably fail the tests as jasmine.scenarios and jasmine.policy.tests.working don't actually work.