Test to verify/fix behavior in #3503

Was not able to reproduce the issue