[tests] using literal sql commands instead of constants
[opf] improvements on update auto map