Added GetExpiresIn command and improved unit tests.
Merge pull request #5 from gnagel/issue-4

Added GetExpiresIn command and improved unit tests.