remove warning regarding to unused variable in tests