Fixed warnings in unit tests due to unused variables

4 jobs for warnings-fixed