Add spec for endpoint
Sleep before refresh