updated tests/restructured code

updated readme