fixing array parsing issue
fixing tests for rescheduleWaitTime