closes #791, modify test to add case for