fix indentation
test random content only on arrays with enough content