Fixed the map no child case, the type in case and a mistake in the second testcase