added specs with mocking for posts and users