run-tests script now agnostic to working directory