Added unit test module with test cases for Document
Added instanceof assertions to clone unit tests