Add regression change for accessor listing

Added test for what failed in #2045, so it doesn't come back – not sure I got it right ?