Tests: Re-introduced pytest based tests. Fixed them a bit, commented-out otherwise. Application tests only runs with logging test, and PLCOpenEditor tests seem broken.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.