Added random bytes test cases