Avoid hard-coded value in test setup and teardown.

cc @senny