Added random values and full test.