improved readme, added test