fix doc command handlers tests