leaky-layer-tests: fix the argument handling

Signed-off-by: Christopher Larson <kergoth@gmail.com>