Test for #147
Fixes #147
Remove unneeded open
Merge pull request #148 from ovatsus/JsonBug

Fix JsonProvider bug