[OE-4739] made unavailable message more generic
[OE-4739] wrote unit tests