Move tests for deep_dup and duplicable to object directory

It makes more sense to move tests of `deep_dup` and `duplicable` to object directory, when actually the main code lies in object directory.