Bug fix with adding elements with non-String ids

Added corresponding unit test
By default, set the create option for mock graphs