use as_dna and as_feature methods in tests