Integration test for postgres json manipulation and mapped object editing