Added tests for voting and posts