Device detection test