Relevance of a random choice in tests of Bell inequalities with two atomic qubits