Unit tests:

- first batch, for SDK, some utility code and core Instance functionality
- utility code for test running