added Tests and assertion error in bank