Observational test of two-field inflation