Add a local file to database adapters
Modify to change database adapters
Add test cases for Firebase