added unit test for cpu side_defense boolean method