testing persitance_manager and duplicable_editor with jasmine and karma