Reformatted to be more consistent with other test modules, and to work with the `requires_application` attribute setting properly.