Add some tests for the issue dialog

This unfortunately copies a lot of fixtures...