pull request recommendations; correct unit test