adjusted tests and docs