localspl/tests: Check for Xcv-API only once.