Fixing invalid key method in functional bank account test