Added unit tests for autoloading component