Issue 10992 - Missing unittests when using getUnittests trait

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