Fix test.
Fix warnings.