Removed rogue log.
Re-arranging tests.
Added ability to clear down the stub registry.