fixed bug, readme updates, tests