testGetPutContents: addes tests for subdirectories