clang-tidy: Enable cert-env33-c

Modified code to address issues flagged by this check.

Tested: Build and unit tests completed successfully.

Change-Id: Ic84d34ce664870988054284ecba4903805037210
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/test/.clang-tidy b/test/.clang-tidy
new file mode 100644
index 0000000..40371e6
--- /dev/null
+++ b/test/.clang-tidy
@@ -0,0 +1 @@
+Checks: '-cert-env33-c'