Moved application context to separate class for easier testing.