Use correct asserts on tests.