Fixed issues with issue submitter and pastebin logs.
Added test for issue submitter.