tests for usage message generation