Add a test for creating doc with a custom id