Fixtests

Rewrote README, added coverage report, started writing tests.