testing nonvar/1 with various inputs
a few more var and nonvar tests