fixed links on partials
make some changes in the routes
refactored tests