add minimal tests
small fixes to test
add readme and index