XXX - test 2522 bug reproducing