testing subsetting by txnDate