conditionally run tests if credentials exist