Creating Python unit-tests

The idea is to reformat current "Night Tests" into Python unit tests, so they can be run by Travis.