Add skip conditions to unittests for dependency checking