Adding subDoc tests