organizing routes
changing route path to avoid messing up dummy environment
fixed controller tests and added model tests to posts