Add: tests for size, getParent methods