NXP-11696: improve automation document service - add complete test with simple and complex metadata