update specs to cover randomized functionality