Testing nucleation theory in two dimensions