improve source code section in readme
add test section to readme