used user.reload instead of creating a new user in plaintext password test
Added unit test file for posts (incomplete)