ScopDetect: Add test cases for non-simple regions