Added arguments to aggregate columns for functions such as date_part()
Basic testing using an in-memory sqlite3 instance