Re #852 Adding test.