created tests for users and posts