Fixed unit tests for delinking objects