BSD unixes (FreeBSD and MacOS X being the most widely used) need explicit path for the find command and explicit backup extension for sed, fixed it
fixed failing scripts on admin scripts unit tests
fixed uppercased strings in unit tests for models