fixed error in stylededitortest