added tests, fixed ifind printing unicode error