refactor tests structure; initial gui tests commit
tests for core/util.py
tests for gui/util.py