instead of using self.command... maybe it is better to have non_existent_command variable... Looking only at this tests it is hard to tell what self.command is doing.