Add tests; fix README section on custom templates
Create test for downloading file
Fix bugs