Refactoring gui test

all build