Add tests for PHPCRAdapter.