api: run sum unit tests against SQL backend too

Change-Id: Icefe211bebd945716e64de9cb2b248fcbf6dd521
Signed-off-by: Julien Danjou <julien@danjou.info>