Added tests for socter.