Could you please provide the server project and the client test project so we can have an idea of what we are talking about and give some advice?
XData is a stable product that is of course being used by lots and lots of customers in production, so you are hitting a specific situation (in your code, or XData code).