Move FP_REJECT and similar constants to a header, so we can access them in the tests

We should make them private or test-only, so we don't expose them outside the module.