public void randDnaSeqTest(int numTests, int lenMask, long seed) {
		Random rand = new Random(seed);

		for( int t = 0; t < numTests; t++ ) {
			String seq = "";
			int len = (rand.nextInt() & lenMask) + 10; // Randomly select sequence length
			seq = randSeq(len, rand); // Create a random sequence

			if( verbose ) System.out.println("DnaSequence test:" + t + "\tlen:" + len + "\t" + seq);
			DnaSequence bseq = new DnaSequence(seq);
			Assert.assertEquals(seq, bseq.toString());
		}
	}