lit: Give test formats control over test discovery.