simplified test for json postgres