Assert on TypeError for invalid rc type.
Restructure tests.
Assert on json parse error.
Assert on loading json rc file.
Assert on eaccess error.