fix import path
fix unit tests
pass properly the name of the selfing recording field name to mating operators