adding some more tests
adding code coverage with coveralls; switched to jsdom from phantomjs