Change source compatibility for tests to 1.8
Implement an FSM using a Reactor and a set of arbitrary states.