Fixed bug that put time into quarter column, instead of the quarter itself. Added a unit test for the quarter column.