Added new test class with the appropriate tests and comments. Updated documentation.