I've added another dedicated unit test for this. see 06ddf8d9759d8c0baa45b29fc62e3877275f9f16