Implemented main tests for persistence adapters.