Fixing NPE in tests addLocalPlugin:248

Fix for the NPE mentioned in https://github.com/crawljax/crawljax/pull/346#issuecomment-25814980
Merge pull request #364 from keheliya/patch-1

Fixing NPE in tests addLocalPlugin:248