Image code testing