added map command and inventory tests