Added in memory adapter and db base tests, added database project