Added additional complexity to test and updated documentation.