corrected SQL parameters & added get_raw_crash test