tests with stax