added test to illustrate #902