Adding test for select() with has_one relation.
Testing an empty result return an EntityCollection.
Hydrating empty has_many gives an empty collection.
Merge branch 'one_to_many_test'