Commandhandler tests