Fixed tests for optional initialization in tests, under recent versions of clang.