Test uses SQLite in-memory DB for test

Also spaces to tabs