updated unit tests and documentation
updated unit tests and documentation