Update test.cpp

Coding standard modifications