Avoid hardcoded value in test setup/teardown.

cc @senny