Integrationtests

needs a bit more work