command interpreter unit tests