Added a bit of state to the test app