refined integration tests