integration tests to be finished