added more tests for patches