test commandHandler