Added unit tests for bridge