LogicTest: added tests for viewDate and viewTimeFrame