Check the repo consistency in model templates test
# What does this PR do?

Since the split of quality in two, the repo consistency was not checked anymore in the template tests. This PR fixes that.

Some failures coming from the template docs are then caught and fixed.