Fixing minimal_findend test