Functional test now checks we can input a to-do item.
Refactor home page view to use template