detect test