tests: setSchema