Fix warnings in config-api tests

Move to non-deprecated classes and fix the use of raw types.

Change-Id: I9ef7d36d1f294b634787738292deedc2546d4097
Signed-off-by: Robert Varga <rovarga@cisco.com>
Merge "Fix warnings in config-api tests"