When tests were generated, but command-line filter is applied all tests are still run

A test filter should be applied to only run the tests that are in the version filter.