Adding TestMod and Reference

Added the TestMod.java and Reference.java