refactoring of not ajax or js dipendet test to webtest