Fixed missing documentation and test.