adding tests js file

The library has to be well tested before it is released. Few tests so
far added.

The SQUIZ.getParameterByName() function was updated.

decodeURI was added to handle encoded Polish characters