test number of islands