[MRG+2] Stricter decision function test

Closes #1490.
it would be nice to add comment of why we need to have a private function