Add modules which are required at test phase.

`Test::Differences` and `JSON::XS` are used in `t/01_base.t`.
Please see this patch.