Moved expected annotations to local variable