added a attribute text for mock object and fixed a typo mistake