updated documentation/tests