add missint Exception test for NextFreeDocNameCommand