Revert "Forgot one of the test.cpp files"

This reverts commit fe5db9f2d111bb1d84ae58a8a993e7d303d0db22.
Revert "Revert "Forgot one of the test.cpp files""

This reverts commit 45c865396f5ea2ba6db0fedf5d17610cf9fe5bf3.