testing functions of data.table package