light refactoring
added test for destroy resource pool with virtual machines