fixed integration tests; there is now validation to check that the payload is valid json