Look for config file in parent dirs
Make tests compatible with ruby 1.9.x