[refactor] Extracted RunTestsOnPostReceive to a class (10m)