add tests for paramConverter, fix issue with  never set


this fix an issue in the paramConverter:

the property `$this->hasWith` was never set before tested in `findPk` method