testing class based decorators