fixed mistake in df calculation in crTest