Add unit tests for search behavior + component autoloading