Add isQuietHours tests