add test and readme