Fixing failing findend_test