Fix typo in tests

In #1, the `new` keyword was added by accident. This PR is fixes this.
Merge pull request #2 from matthewdunsdon/enhancement/fix-new-typo

Fix typo introduced in the tests