BUG-1287: migrate tests to new APIs

Removes the use of deprecated config/yang APIs.

Change-Id: I16714c9721be3da4b41855143ea6df1e7966c2bd
Signed-off-by: Robert Varga <rovarga@cisco.com>
Merge "BUG-1287: migrate tests to new APIs"