Increase white-space in unit tests of assert()

I added spaces around concatenation operator '+' and around arguments
and array items in calls to checkException().
Add white-space around arguments and array items
Add white-space around array items
Add spaces around array indexes and names of object properties

array[i] becomes array[ i ]
object[name] becomes object[ name ]