Fixed an error when trying to get Testdata with a date later than the
actual data