test: use assertion