update readme, fix some tests