api: run list_sources tests on SQL and Mongo backend

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