Include mocks for requests
Ensure template attribute is a string when set directly