Setting Nullable & enum property correctly in model snapshot and designe...

...r code
Also, add a test for nullable enum.