Add test for suite level patch restoration.

Add test to check that when a test value is patched in
it's value is restored to the previous value on test
tear down.