tests: add test that exposes assert failure