Fix issues
Fix #3 Add tests

Remove console.log
Use http:// to fetch assets files required for phantomJS
Add test run script
Update test rule
Rename test directory to avoid make file conflict
Add script rule
Merge pull request #4 from nlegoff/tests

Add tests & Fix some issues