add test demonstrating bug with name aliasing in html function
fix html function invocation