Did you validate the document [validator.w3.org]? It could be an improper nesting or some other link overlaying it. A second possibility is than you have some action being assigned to #test form that is returning false on submit. Outside of #test, the action wouldn't get applied.
Check the Firefox error console to see if there are JS errors, and review it with the FireBug extension.