fix some issues on commandTest