test schema retrieval