Add tests for the object element