Added some of the test cases described in the document