Add auto-rotate handling for testing.
Update framework to 1.3.2.