tests: info: add test case to reproduce infinite loop