Add some sample integration and functional tests.