Merge "Move UI tests used in snippet to part of integration tests." into tm-dev