Mock protocol for testing