sd detect test