Added unit tests on BanwireManager