Add more tests
init() now throw Errors when sensitive option are invalid

Also create some temporary variables in some function to allow variable name mangling when minifying