adding tests for post and vote models