Added root key
Created tests for XML integration