So what should an atheist do if being sworn in for a testimony in court? The swearing in question has "...nothing but the truth, so help you God." Can you say,"Yes, I'll tell the truth, but I don't believe in God."?
From Wikipedia:
In the US, people can use either "so help you God" or "under pains and penalties of perjury"; all oaths and affirmations are considered equivalent before the law.[14] These modifications to the oath were originally introduced in order to accommodate those who feel uncomfortable swearing religious oaths, such as Quakers, as well as to accommodate the irreligious.[15] In United States v. Ward, the Ninth Circuit Court of Appeals ruled that certain other modifications of the oath were acceptable so long as they demonstrated "a moral or ethical sense of right and wrong".[16]
I believe you have the right to ask for a secular swearing in question that does not mention any god. Maybe Google knows????