[rw] Add tests for new image module

Tests only, no implementation yet.