fixed fake calendar test function