test for .json extension