Added some more tests and enabled coveralls.