Added tests for WaitingModel
Added tests for waitingmodel