fixed test detection with extra "