1, added 'tick' method, 2. added Spec test