tiny improvements on test assertions