Two Google engineers, both of whom formerly worked for Sun, testified on Thursday about their role in developing the Android mobile operating system, defending their current employer from Oracle's accusations that it copied code and admitted internally that it needed to negotiate a license for Java.