test dirty patch