add a checkDependency in testIK in case snopt is not installed