Organize test file and runtime_patch.h

RuntimePatcher call RuntimePatcherImpl's method, split into 2 class.