Minor formatting changed to make failures more obvious
Print out msg attribute
Added -t switch to allow only certain tests to be run