build(ci): fix condition on tests