Unit tests for the CasTicketRegistryTokenStore

Also commented on certain behaviors and fixed formatting in the custom token
store class.