Fix syntax error in tests.
There was a failing test caused by a syntax error in a test. The solution is probably to improve the syntax in a new version and issue a warning in older versions.