fix TemplatedComponentTest failure -  mock copy() for ConfigurationDefinition mock

(cherry picked from commit 2b6d56285d94f01744adecfc6b19ca9dda665d98)
Signed-off-by: Jay Shaughnessy <jshaughn@redhat.com>