Updated with check for potential tests to run.