Added adjoint test for projection.