Fixes #6
Getting rid of hardcoded urls in templates and tests for subjectpool