Use `exec` callback instead of event
:white_check_mark: Improve specs

* Extract common spec setup into utilities module.
* Improve `LogParser` spec reliability by parsing a log file generated
  on the system executing the spec, which means the parser output path
  should always return as expected regardless of platform.