Added some specs for Generator (getProeprties, getAllProperties)