Code refactor - moved utility methods to test fx base class