remove unused variable warnings in test