Implemented changes in test rules.