fix typo in test constructor