eric fixed scheduleTest to convert json correctly