Changed the way the binding and the test work, now they use management functions

Change-Id: I5a6d2018db09427c9f56290957acd2dc01af1d99