final draft unit testing random behavior with mock objects