Created download controller. test for pdf (again)