Revert "Delete test.cpp"

This reverts commit 840d033d38e932b1aedaac8e95a8ad4d08be52a0.