test to consider empty json as bad json