The mock implementation of search_count returns `false` instead of 0 when the domain doesn't match any records. Also, writing some tests revealed the `active_test` context key was not taken into account. closes odoo/odoo#93746 Related: odoo/enterprise#28449 Signed-off-by: Géry Debongnie <ged@odoo.com>