updated test.cpp and added some test data