fixing xml api tests