Test that envelope validates against schema