Added the setup() method to be overridden by TypeBase child classes to support instantiation code to be run.

This will automatically be called at the end of the __construct() method allowing plugin code to be run.

Also added TypeBae test to the test file for this.