unit testing added

#Modifications:
1. Unit testing code added
2. token name unified in library
3. <body...> -> <noscript> bug fixed