[kmf-content-api-test] Solved several issues in tests

Change-Id: I5752f28a0de3f5ab61614ff2e5b8a6e449741dc7