testing detect for configuration