dynlib test, some fixes, etc.