Added a test for onOptionsChanged new argument.