update hiera writes

the hiera data has been moved to the data
directory. This commit updates the test script.