Add test for subdocument projection

It doesn't test exclusive sub-document projection as it isn't supported yet.