Implemented more tests in OS X Example.
Updated methods about period events.