In the United States you need to make sure that if you are using the titles as part of the background check, that they will match the titles that your former employer used.
In my experience the title is used to place you in a wage category, and doesn't necessarily reflect the job you did for that project. The first company I worked for changed my title between the programmer track and the engineer track multiple times because programmers were paid at level 1,3,5 and engineers were paid at level 2,4,6; Therefore they could give half promotions twice as often.
Make sure the paragraphs on your resume reflects what you did, because the title doesn't explain what you did. For one company my title was "member of the technical staff".
I have written code as a programmer, engineer, developer, mathematician, member of the technical staff, chief scientist, software engineer, and system engineer.