tests: add a test for just-fixed bug