fixing categoryLoader controller | adding categoryLoaderTest