added tests for defending