fix scan_random to show cache action
add tests for db configuration parameters