Fix typo that leads to broken tests

This made tests fail. Please review/merge asap.