[tests] add transformer test