Do not register icon when unit testing (Client is missing and registering of icon crashes)