Factor out 7 into shared constant in SLDeviceTest