TestSession.register(null);
System.getProperties().remove("page.title");
System.getProperties().remove("page.download.caption");
System.getProperties().remove("login.link") ;
GalenPageActionProperties action = new GalenPageActionProperties();
action.setFiles(Arrays.asList(findResource("/properties/homepage-en.properties"), findResource("/properties/loginpage-en.properties")));
action.execute(new TestReport(), NO_BROWSER, new GalenPageTest(), NO_LISTENER);
assertThat("System property page.title should be", TestSession.current().getProperties().get("page.title"), Matchers.is("Home page"));
assertThat("System property page.download.caption should be", TestSession.current().getProperties().get("page.download.caption"), Matchers.is("Take it!"));
assertThat("System property login.link should be", TestSession.current().getProperties().get("login.link"), Matchers.is("Sign in"));