add test to verify that extends uses the correct format for lookup