Fixed xem integration test