Adding a test framework embryo

Based on QTestLib. Don't know if it is done in a Qt fashion, but this is
at least a good start.