Use namespace to call Exception factory
Use namespace to call triggerError
Updated expected output and namespace references so tests pass