Add test for sign type parsing