Making sure column names are available for MySQL (fixes #42) and adding tests for time objects on PostgreSQL