Added tests on patching
Removed tests for serialization