adds bank account functionality and tests