Added a bunch of unit tests to test the Jira functionality.
The communication with jira itself isn't unit tested yet.