fix tests and update readme and docs