implement integration testing