tests for posts