The sequence I always heard was this:
1. Person makes some observations.
2. Person comes up with a hypothesis to explain the observations.
3. Person creates tests to verify hypothesis.
4. If they are verified and additionally verified by peers, the hypothesis becomes a theory.