Optimize test structure

Extracted from #414
Do not use parentheses for method calls with no arguments.