Moving test action to non-test jar for use in external tests