selftest: Add test to show that sam.ldb does not do a full scan in startup