add test for static retrieval of fields