Fixed typo in test decorator. See pull #4539