Fixed error in date unit test and uncommented lines that were unintentionally left commented