unittests: Fix -Waddress warnings
unittests: Fix -Wunused-parameter warnings
unittests: Fix coding conventions