added Tester.assertElementCount()