remove plyr dependency in tests