Apply Unit test to Loader, File and Config classes