added test and readme