fix api tests (add some obsolete symbols fix wchar tests)