added missing <custom code> tag. updated unit tests with known problems list and fixed a few tests.