Added tests for ETObject up to 98.7%.

Signed-off-by: Esteban Torres <me@estebantorr.es>
Fixed the ivar assignment code.

Signed-off-by: Esteban Torres <me@estebantorr.es>
Added new tests.

Signed-off-by: Esteban Torres <me@estebantorr.es>