Added test for `Loader` class.