Test for sign parsing