adding some tests
handle default values and nullable fields for NoSQL