Evolution textbooks row goes to court