Fixing tests

Omit the parentheses in defs when the method doesn't accept any arguments.