rpath fix tests