add tests and renaming testRC
add fct rep_create