add tests for ruby c extension object.