investigation.py: minor clean-up of tests/regexes