removed random seed, added test for it though