Mission tests

Some test refactoring and initial tests for 'edit mission'
where does the 'title' varriable come from ?