switch between local and firebase tests; delete firebase test store after test completes