Fixing up override warning in examples Makefile

Also fixing a longstanding bug where we get false-positive passes in test.mk.

closes #3058