Added contain test helper

Part of the commit to add to.contain() test helper method which is useful for test things that are dynamic but parts can be safely assume.  A specific case would be making sure a certain class exist when you might not know all the classes or the order the classes are in.

Also include some misc doc fixed