add junit3 example and fixed #1