change expect to verify in test.