Implements correctly get_components_list, with corresponding test