Remove unused local vars

Remove unused local vars in test files to make code cleaner.

Change-Id: If97fad2d6b85730ea1cebc477f5f092c1c17976d
Merge "Remove unused local vars"