added test for pull #12