Add unittests to travis builds

Though there are no unittests in master yet, this PR allows PRs that do contain unittests to be tested accordingly (also this PR serves as a kind reminder to finally merge #961 ;))