cleaned up last commit, and added a first draft of tests
add test howto and todo to readme