Test for correct number of entries