Can add issues to the database.
Refactor tests.

Took suuuuper long because of an issue with midje (see
https://github.com/marick/Midje/issues/257)