I think it is a little dangerous to set behaviour based on a random number in a test suite - is this really necessary?