fixed up some missing documentation, test case