Well, there is absolutely nothing wrong with the code you have posted.

If Firefox's Error Console is detecting it, that means it is a client-side error which means that pointing to the word "test" makes no sense.