fix test for dump military when transport type is unknown
add support for when resource max > 1M