fix /usr/lib for modules in rpm and add tests to libexec