Implemented Patch package and simple test