Tests for schema + index field. #24