fixed get_period_ordinal
added tests for milliseconds and microseconds in Period