Fixed typo in test generation