update readme, and add test