update to tests and documentation