Updating EntitySelectorTest with correct columns.
Updating test entities.

Book belongs to Author
Book has one BookDetails
Updating EntityTest with the correct relations.
Adding test for selectOne() with has_one relation.
Adding test for selectOne() with has_many relation.
Simplifying nested logic in executeSingle().