Added template test, adds operating system, fixes #1032

Just to make sure, when an operating system is added it returns the template types? Or should the docstring be updated?