removed iostream from test.cpp