initialise testdatabase in memory; configure tests for repository