added random tests