51 refactor: address code analysis violations in test code