js checking for at least 1 test to be selected for running