tests: Add invalid "type-argument" tests to increase coverage