fixed deleting of assets in tests and implementation