refactor function name for componentConstructor and rerun tests