Test whether the default grid and a custom grid generate the correct classes.