Before this commit, `testUtils.unpatch` was incorrectly unpatching a class' properties. That is caused by restoring the properties on the class function itself, instead of the prototype of the class function. This commit fixes this issue by restoring properties on the prototype function of the class on `testUtils.unpatch`.