test: Exercise check() in CommandParser tests