FIX #394 adding tests for native packaging with 0440 permissions

Adding a regression test