Added a test for State's instance of Apply

This test ensures that the State instance of Apply actually threads the updated state correctly. Without it, my incorrect implementation was passing the tests, so I was really confused when trying to solve some of the later State exercises.