Fix sign warnings in ASSERT_EQ
Add -Wextra to compiling options
Remove unused parameters and variables