add test to verify dump_limits to stdout