added ut and e2e, added usemin