Unit tests for the Object class