Detect Check with tests