fix bug in fmpq_set_si and add test