added coverage for unit tests, changed to running tests on phantomjs