test_detect: Fixing test for integers values

Linked to bug fixed in issue #91