[#6692] fix export tests
[#6692] fix api_post tests