Apply the guard decorator to both test classes