added rand seq tests. not tested