Fix the test for whether Mojo::UserAgent is installed
Added support for Cpanel::JSON::XS
Fix tests broken by the change in Serializer