adds test and readme
merges test with master