[tests] added tests for getFirst(), getLast(), remove(), removeAllOfType(), contains(), countOfItems()