Add mixing routine to get_random()
Update tests