Cache test data onto localStorage