Add ruby 2 to ci.
Change tests to be more robust.
Change to depend on instance state.
Change to use instance state.