migrate calendar test to spec