Test with external schema