Cleanup test formatting for protected method rule