Sip examples

This fixes the failure on Travis and adds a test for inverse sip. Note that the test will pass after #2237 is merged.