Source format
Add test environment for database

test environment database using inmemory SQLite.