Posts domain object test, and some minor changes