Added MedianAlgorithm and JUnit test.  Moved common test data to new
TestData class.