Convert assert() in test code to assert_*().