This commit improves the test coverage to add strict template assertion for well known use cases. This allows to catch obvious template issues.