Add control on null for test between number and string