Adding functional tests for fake 'foo' protocol