wrote tests and tsx for crreate pipeline, bug in