Merge "Add functional test for screenshots."