Bugfix in a test, now actually counting amount of elements