Debugging unit testing of cursor commands and command system