Added test for supplying same values found in document and fixed test for equal endpoints.