Update test_tools.py

updated the unittest skip code