renamed test case, added debug flag, the code works