abstract adapter unit tests