I don't think to test `deprecated warning`, but I'm not sure my thought is correct way