Allow autocomplete for test file in autotest.sh

@DeepDiver1975 @PVince81 @schiesbn