Test: Remove empty string as the message argument

Ref #247
Test: Reduce boilerplate code by using a helper

Closes #247