add tests for user
add tests for post