Create unit tests for new refactoring branch
- Unit tests required
- Very often these can be can based on original ccd_utils tests in many places.
- but nose is rather cumbersome
- use pytest in stead
- do not nose yield mechanism to create sub tests.
- separate tests using classes to group related tests as this makes things much clear.
- Writing tests will mean that @oliversmart will become familiar with code