Tests on database access with map-items