DDF-242 Cloned arrays to prevent modifications to internal store and modified to use slf4j syntax

Added to the unit test.