Adding missing documentation.
Added initial set of test cases