Use arrow function syntax for tests