simplify toString() for entity id and version
Add logging config for tests