Added SQLite support. Move SQLtests from main activity to an appropriate unittest class