remove unused variable

It removes below ruby's warning.

* warning: assigned but unused variable
use parentheses at argument of an assertion

It removes below ruby's warning in test.

* warning: (...) interpreted as grouped expression
Merge pull request #170 from kachick/improve-remove_warnings

Clean up ruby's warnings