Implemented rules for failing tests.