Adding tests for _get_components_from_folder