shitty first draft of integration tests