Stub securedBy property on nodes.
Stub securedBy property on method.
Tests some complex APIs.
Add some values to error messages to aid debugging.