test.sh now accepts an optional binary (defaulting to ./ahxm).