Removed stupid, added more tests.
I also added a setTokenExpireTime() function in the case you don't want to extend the class.