BUG-865: removed use of deprecated code in yang-parser-impl tests.

Change-Id: I468807cf3caa2746386c13316fc0f4579bf9c81d
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Merge "BUG-865: removed use of deprecated code in yang-parser-impl tests."