Move a functional test from its own folder to src/test.
Merge pull request #1180 from benbc/2.0-move-integration-test

Move a functional test from its own folder to src/test.