Fixed bug when adding a reference at other position than the first
Misspelled the inheritParams
Man fixes
Removed the warnings from the test cases