Test different if statement for numeric check