Added cache test for patch