Add abstract database adapter test.