[CHANGED] Replaced "assertEquals" with "assertCount" where it was necessary.