test(*): #646 unit tests for image validation!