refs #6661 added a test to make sure it works