Run 'test' instead of dist in java-dagger
Make tests part of the "dist" task