Unit tests do not run when building iOS projects

This shouldn't need to be moved up. I like to combine declaration and initialization whenever possible. (It wasn't with `sdkflag`, which is why it's up here.)