fix some old namings, added some test, enhancement of repos