Fix warnings.

Explicitly set the arguments for test cases to (void), and update the
types for setup/teardown callbacks in the example code.