hopefully fixed unittester