NATO tests Ukraine's readiness to join