Fix tests and some minor improvement

* Fix tests
* Display the onetoone field in a label
* Make the hints work better