[BUGFIX beta] Add warning to variable {{input type}}, with working tests

This is an update to #5056, which should fix the tests.