Fixed test_device Template test

Template test needed to support a relative base of module and test base.  (Testing entire suite or just the specific file)