Tests: Fix map loading when agg is disabled.
Simplify test scripts.