add scenarios of const typedefs
minor whitespace changes