Removed the warnings from more tests. I think '(void)var;' might be working better than 'attribute((unused)) var;'.