Fixed decorate test bug