tests for caching get_data()
pep8