implemented all tests for post views in user app