Adding tests for AbstractElementCollection