Added methods and tests from terse-objective-c