Test that open throws a SYNTAX_ERR exception when called with an empty method.

FAIL: script didn't run or raised an unexpected exception.