Fixed compile error in test for #1469