Correct tests getAll and getId with assertContains