fix bridge test

Fixes #606