Change from use of Test::Trap to Test::Fatal

Remove dependency on Test::Trap in favour of an existing dependency.