Move the custom assertion to its own module.