Fix data races in state/apiserver tests

The change to this file doesn't seem to do anything. You do expose the period up the stack, but you're passing in exactly the same value, and I don't see any other callers to this that would change anything.
Is this intended to move towards something else in the future?