Add getViewedDate; Add tests for view calendar when selected date is or in not passed