[TEST] Ensure we have a mapping for all types on open/close

Conflicts:
	src/test/java/org/elasticsearch/search/basic/SearchWithRandomExceptionsTests.java