customized unit test for astatic method jquery plugin