Added "left join" again to fetch entities when there is no relation
Splited and improved unit tests
Merge branch 'master' of github.com:jhipster/generator-jhipster