Make the get_all functional tests assume less of the db state

Don't assume the table is empty
Add an entry and make sure we can find it.

Change-Id: I848c0222f4d06455fd97664e553ac53a83be6762
Merge "Make the get_all functional tests assume less of the db state"