How to test a Server Side plugin?

The first question you need to answer is are you able to return the Auth token after running the script?