Implement bridge and tests