improve test discovery