Clean up test targets
Make patch parser more solid
22 unit tests