Introduces integration tests. WIP.