Code Monitors: replace hard-coded IDs with returned IDs
Created by: camdencheek
This updates all the code monitor store tests to use the returned IDs for followup work rather than guessing at the IDs the database will insert new rows with. This way we can add new actions without breaking tests, and we can also run these in a transation where the IDs don't necessarily start at 0.