unused variable cleanup in tests