System tests

Seems like we write a lot of boilerplate code for waiting. Lets try a global configuration: http://stackoverflow.com/a/12859689