Nunit api update

This request fits with the pull request on framework branch feature-stop-run. The engine is updated to use the revised framework API. Both requests should be merged at the same time.