Merge "Add test coverage for setTopWindowVisibility"