test: use assertion
test: fix style