Added a scenario to test attaching from a step definition
Improved error output when actual or expected JSON cannot be parsed