Update some parts of test code in BSA/tests and NIF/tests to current API.