Moved text content selector rewriting to right before actions are called. This cleans up the output in the console. Disabled assertResembled test in base.dummy because it fails for unknown reasons