t4f-a - added a couple of tests and created isDictionary function