Html: fix tests. check html context before injection.
junit/testng: setup patterns from scratch
create package local getter/setter for package local classes (IDEA-107671)
fix regexp to match assertEquals when message is present (IDEA-107848)