Add missing tests for persister factory