Infinite loop test case - issue #279