added test for use array as log message