Added test case (TODO: Test hangs)