fix typo and reference in tests