finishing touches and a few devise tests