tests: Make run-tests.py command argument parser more flexible