Added random tests to profileTest 2.