Add a test for running the regression tests in a full-aot+static environment.