Add public method to get vertical state.
Update tests.