Sending the test mode to the json