Add controller test for tag editor