cleaned up tests
added usage example to readme