polished existing test and added a misuse test