readme updated, tests added