Merge "Add API tests for protected nodes"