add tests for adjusting states