big tests refactoring to have them working within AMD
Merge branch 'amd' of github.com:unepwcmc/pica.js into amd