adds post factory
Adds test of posts index page
Adds test for post creation
Adds test for posts new route
refactors user controller test and adds creation test
Adds controller test for redirect upon creation
Adds redirect if post invalid and related test
Merge pull request #10 from AlexSYanai/PostTests

Post tests updated