Add assertion to test for jsonPost