tests: Add command line argument -f for specifying a test file