Added functions for testing aggregate() and data.table()