Fix sharedir tests
Add basic testing
v0.006

          Prohibit the use of a sharedir configuration that is not supported
          Add basic testing