Add test for connection feature.
Tweak feature parameter a bit.
Fix initiatingFrames calculation bug.