Added testdata and mock objects for unittesting.