corrected the dwarf test case