No more need for JSON.stringify in tests

fixes #5