Applied cpplint and Google C++ code std. Refs #2

Almost made some changes to the "old" tests.
The changes also reverted change pointer to refernce chnages made in
issue #6.