Added p4_sync to p4_wrapper with simple test