Update tests to pass without warnings.