Split out expectation_target to a separate file to fix the build