Test get_data returns needed elements