updated math.random with correct seeds for testing
updated tests