Issue 11358 - debug import and getUnittests do not mix

http://d.puremagic.com/issues/show_bug.cgi?id=11358