fixed tests to remove created objects