new test checking tagging a non-existent reference. replaced few System.out.println-calls with io.print call. removed couple of debugging prints