updated readme with usage info
add some tests