issue #5056. move gui test from ExtensionsTest to the outside
issue #5056. fix linux & android compile error
closed #5056. fix  windows compile error
Merge pull request #6628 from andyque/refactor5056

refactor 5056. pull gui tests from ExtensionTest to UITest