Adding acceptance test for #1024