Updated salt generator test

When function is not available we don't want to mock oxOpenSSLFunctionalityChecker class
(cherry picked from commit ffe221d)