Make compatible with Fedora 12 (and possibly other distros)
Fix test file