test for period shortcut