Fix revoke tokens API
Add template API test
Move api test to server folder and add frontend test