Added unittest for exacution/resource.py