readme and fix tests