create last tests for DbPostRepository for validForCreation() & validForUpdate()