New Test Case Addition
A new test has been added in our codebase. This specifically checks the functionality when a document is inserted with a field that does not have a defined value. It is crucial to ensure our software handles such scenarios without crashes or bugs.
we should just handle this for the user instead of making it have a nasty crash. we should delete undefined fields instead of serializing them.