remove unused variable from unit test