Restructuring

Moved mock registries to new imagetest package.
Added some more tests.