Added tests for the end of year text controller