Added type_cast_from_database method and failing test
Set default values for new object