Developing GitLab Duo: Secure and thoroughly test AI-generated code