Base document operations with test