improving stringify unit tests