fixed typo in testing code