added UT's, all test packed into executable file tests.py. Gui works, but not perfectly