Add test for bank accounts index. ref #302