Remove static reference in CommandTest