A former government minister facing jail after tweeting a Bible verse said that her trial next week will be a test of religious freedom.