Write unit tests
@bilboed
Submitted by Edward Hervey Assigned to Edward Hervey @bilboed
Description
Currently PiTiVi is missing unit tests, we need those to be sure we don't introduce regressions and that all features work as expected.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=396804