more modular tests, return errors on exit
test multi-dimensional index, make arguments constant everywhere