Declaring result codes using a relational macro, so that tests can print more meaningful output, and to eliminate redundant code.