Added unittests for bus