tests removing unused detect methods