Profile testdriver and refactoring

After merging i found out many differences between apitest and the cli were unimportant. 
We only miss the ability to set the timezone in the CLI. I could add that to the CLI and use the CLI to run the tests.