Simplifying test syntax