[ CLI ] Fix tests generated by server-shelf template
[ CLI ] Fix tests generated by server-shelf template

Fixes https://github.com/dart-lang/sdk/issues/48263

Change-Id: I07c818dcb8e8b8797f97d6658912f65a0eadc1f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/234329
Auto-Submit: Ben Konyi <67ffcaedcc3dc3d87dddb9627b72dd41756b31b1@google.com>
Reviewed-by: Devon Carew <e996497f4f2225f0ee7a9f4d1696ee710b488b66@google.com>
Commit-Queue: Devon Carew <e996497f4f2225f0ee7a9f4d1696ee710b488b66@google.com>

dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk