fixes for test prog