Unit tests with internal classes now run correctly - Fix bug 421