Move patching testsuite to core

This was an leftover from my debugging session.
good catch.