Added test code to retrieve history to check if it is retrieving history within the proper date objects.