fix tests for unexported fields