Added test cases and beautification to banking.rb