refactor the selector objects and add many more cases to them
to json
adapt tests as the output has been changed to be more "clickable" in eclipse