Tests for cached table schema with prefix